<!DOCTYPE html>
<html lang="ch">
<head>
<title>{$list['title']}</title>
<meta charset="utf-8" />
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="0">
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="pragram" content="no-cache" /> 
<script src="../addons/scene_cube/resource/js/app/offline.js?1397525361"></script>  
<script type="text/javascript">
	if(/Android (\d+\.\d+)/.test(navigator.userAgent)){
		var version = parseFloat(RegExp.$1);
		if(version>2.3){
			var phoneScale = parseInt(window.screen.width)/640;
			document.write('<meta name="viewport" content="width=640, minimum-scale = '+ phoneScale +', maximum-scale = '+ phoneScale +', target-densitydpi=device-dpi">');
		}else{
			document.write('<meta name="viewport" content="width=640, target-densitydpi=device-dpi">');
		}
	}else{
		document.write('<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">');
	}
	//微信去掉下方刷新栏
	if(navigator.userAgent.indexOf('MicroMessenger') >= 0){
		document.addEventListener('WeixinJSBridgeReady', function() {
			//WeixinJSBridge.call('hideToolbar');
		});
	}
	</script>
<link rel="stylesheet" type="text/css" href="../addons/scene_cube/resource/24/assets/styles/app.min.css?ver=3.6"/>	
 </head>
<body class="app" data-app-id="5477" data-ad="true">
<div id="app-loading" class="app-loading">
<div class="cycleWrap">
<span class="cycle cycle-1"></span>
<span class="cycle cycle-2"></span>
<span class="cycle cycle-3"></span>
<span class="cycle cycle-4"></span>
</div>
<div class="lineWrap">
<span class="line line-1"></span>
<span class="line line-2"></span>
<span class="line line-3"></span>
</div>
</div>
{if $list['bg_music_switch']==1}	
	<header class="app-header">
		<a href="javascript:void(0);" class="u-globalAudio">
		<i class="icon-music"></i>
		<audio src="{$list['bg_music_url']}" autoplay="autoplay" loop="loop"></audio>
		</a>
	</header>
{/if}

<section class="app-content">
	<section class="page page-index z-current" data-plugin-type="info_front">
	<section class="page-content">
	<div class="m-animationBox m-animationCloudBg"></div>
	<img class="m-foregroundImg" src="{php echo toimage($list['cover'])}">
	</section>
</section>
{loop $items $item}
	<!-- 内页 -->
	{php $data=iunserializer($item['param']);}
	{if $item['m_type']==1}
	<section class="page page-panorama" data-plugin-type="info_profile" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
			<div class="m-panorama z-center">
				<img class="teletextImg" src="{php echo toimage($data['pic1'])}" />
				<div class="panoramaImg z-horizontal">
					<img src="{php echo toimage($data['pic2'])}" />
				</div>
			</div>
		</section>
	</section>
	{elseif $item['m_type']==2}
	<section class="page page-panorama" data-plugin-type="info_profile" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-panorama z-center">
			<img class="teletextImg" src="{php echo toimage($data['pic1'])}" />
			<div class="panoramaImg z-retractable">
				<img src="{php echo toimage($data['pic2'])}" />
			</div>
		</div>
		</section>
	</section>
	{elseif $item['m_type']==3}
	<section class="page page-link" data-plugin-type="info_visit" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-link">
		<a href="weixin:share" class="imgLink">
			<img src="{php echo toimage($data['pic1'])}"/>
		</a>
		</div>
		<div class="u-maskLayer m-weixinShareLayer z-hide">>
			<img src="{php echo toimage($data['pic2'])}">
		</div>
		</section>
	</section>
	{elseif $item['m_type']==4}
	<section class="page page-panorama" data-plugin-type="info_profile" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-panorama z-right">
			<img class="teletextImg" src="{php echo toimage($data['pic1'])}" />
			<div class="panoramaImg z-horizontal">
				<img src="{php echo toimage($data['pic2'])}" />
			</div>
		</div>
		</section>
	</section>
	{elseif $item['m_type']==5}
	<section class="page page-video" data-plugin-type="video_house" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<a href="javascript:void(0);" class="m-btnPlay a-bouncein">
			<i style="background:url(../addons/scene_cube/resource/24/data/images/icon/video.png)"></i>
			<div></div>
		</a>
		<div class="u-maskLayer m-youkuVideoLayer z-hide">
			<div class="m-youkuVideo" data-devid="" data-src="{$data['url']}"></div>
		</div>
		</section>
	</section>
	{elseif $item['m_type']==6}
	<section class="page page-link" data-plugin-type="info_visit" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-link">
		<a href="weixin:share" class="imgLink">
			<img src="{php echo toimage($data['pic1'])}"/>
		</a>
		</div>
		<div class="u-maskLayer m-weixinShareLayer z-hide">>
			<img src="{php echo toimage($data['pic2'])}">
		</div>
		</section>
	</section>
	{elseif $item['m_type']==7}
	<section class="page page-link" data-plugin-type="info_visit" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-link">
		<a href="{$data['url']}" class="imgLink">
			<img src="{php echo toimage($data['pic1'])}"/>
		</a>
		</div>
		 
		</section>
	</section>
	{elseif $item['m_type']==8}
	<section class="page page-link" data-plugin-type="info_visit" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-link">
		<a href="tel:{$data['tel']}" class="imgLink">
			<img src="{php echo toimage($data['pic1'])}"/>
		</a>
		</div>
		</section>
	</section>
	{elseif $item['m_type']==9}
	<section class="page page-form" data-plugin-type="store_contact" style="background-image: url({php echo toimage($item['thumb'])});">
		<section class="page-content">
		<div class="m-contactInfo">
		{if !empty($data['tel'])}
		<dl>
			<dt class="icon-tel">电话</dt>
			<dd> <a href="tel:{$data['tel']}">{$data['tel']}</a> </dd>
		</dl>
		{/if}
		{if !empty($data['email'])}
		<dl>
			<dt class="icon-email">邮箱</dt>
			<dd> <a href="mailto:{$data['email']}">{$data['email']}</a> </dd>
		</dl>
		{/if}
		{if !empty($data['weixin'])}
		<dl>
			<dt class="icon-weixin">微信</dt>
			<dd> <a href="{$data['wxurl']}">{$data['weixin']}</a> </dd>
		</dl>
		{/if}
		</div>
		<div class="m-contactUs m-link"></div>
		</section>
	</section>
	{/if}
{/loop}
  
 
<div class="u-maskLayer m-articlePop z-hide">
<div class="m-articleWrapper"><article></article></div>
</div>
</section>
<script type="text/javascript" src="../addons/scene_cube/resource/24/assets/scripts/init.min.js?ver=3.8"></script>
{template 'share'}
</html>
